<?php 
/**
 * Application Controller Class
 *
 * This class object is the super class that every library will be assigned to.
 */
class Test extends Controller {


    public function __construct() {
        parent::Controller();
		print_r($this->oRouter->segments);		
    }
	public function out($good){
		echo $good;
	}
	public function sets($one,$two){
		echo "<pre>";
		//unset($_COOKIE);
		$oS = Loader::load_Lib('session');
		$oS->set_userdata('football','pingpang');
		$oS->set_userdata(array('sex'=>'female1234'));
		//echo "-----USERDATA-----<br>";
		print_r($oS->get_all_userdata());
		echo "-----COOKIE-----<br>";
		print_r($_COOKIE);
		echo "<a href='/test/gets/fds//fds'>/test/gets/fds//fds</a>";
	}
	public function gets($one,$two){
		$oS = Loader::load_Lib('session');
		echo "<pre>";
		print_r($oS->get_all_userdata());
		echo "-----COOKIE-----<br>";
		print_r($_COOKIE);
	}

	public function gets1($one,$two){
		$oS = Loader::load_Lib('session');
		print_r($oS->get_all_userdata());
		echo "-----COOKIE-----<br>";
		print_r($_COOKIE);
	}
}
